package com.soft.springhrms.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import lombok.Data;

/**
 * @TableName employees
 */
@TableName(value = "employees")
@Data
public class Employees implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer userId;
    private String fullName;
    private Integer departmentId;
    private Integer positionId;
    private BigDecimal baseSalary;
    private BigDecimal bonusSalary;
    private Object employmentStatus;
    private Date hireDate;
    private Date resignationDate;
    @TableField(exist = false)
    private String username;
    @TableField(exist = false)
    private String roleName;
    @TableField(exist = false)
    private String departmentName;
    @TableField(exist = false)
    private String positionName;
    @TableField(exist = false)
    private String phoneNumber;
    @TableField(exist = false)
    private String createdTime;
    @TableField(exist = false)
    private String attendanceStatus;
}